<template>
	<view class="container">
		<view class="lists">
			<view class="lists-items">
				<view class="lists-info" v-html="info.content"></view>
			</view>
		</view>
	</view>
</template>

<script>
	import tools from "../../common/tools"
	import apimessage from '../../common/api/message';
	export default {
		data() {
			return {
				info:[],
				params_notice:{
					id:'',
				}
			}
		},
		onLoad(option){
			this.params_notice.id = option.id
			this.get_list()
		},
		methods: {
			//消息列表
			get_list(){
				apimessage.notice_detail(this.params_notice).then(res =>{
					if(res.code == 1){
						this.info = res.data
					}
				}).catch(cateres =>{
					
				});
			},
		}
	}
</script>

<style lang='scss'>
	page{
		background-color: #F5F5F5;
	}
	.zhanwei{
		height:20upx;
	}
	.lists{
		width:100%;
		margin:0 auto;
		.lists-items{
			padding:2%;
			background-color:#FFFFFF;
			border-radius:10upx;
		}
		.lists-times{
			text-align:center;
			padding:10upx 0;
			color:#999999;
		}
		.lists-title{
			padding:5upx 0;
			font-weight:bold;
		}
		.lists-info{
			color:#999999;
		}
	}
</style>
